package net.maku.infra.biz.service.file.impl;

import net.maku.infra.api.service.FileApiService;
import net.maku.infra.biz.service.file.FileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author wenyignying'
 * @Description:
 * @Date
 */
@Service
public class FileApiServiceImpl implements FileApiService {
    @Autowired
    private FileService fileService;

    @Override
    public String getBarUrl(String name, String path, byte[] content, String source, boolean isRename) {
        return fileService.createFile(name, path, content, source,isRename);
    }
}
